package com.zeng.nicecommon.constant;

public enum ResponseStatus {

    //
    success(200, "操作成功"),
    badRequest(400, "错误的请求"),
    noauthority(401, "你没有被授权"),
    refuse(403, "拒绝访问"),
    serviceError(500 , "服务出现问题");
    private Integer status;
    private String message;
   private ResponseStatus(Integer status, String message) {
       this.status = status;
       this.message = message;
    }

    public Integer getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }
}
